package com.zzyl.serve.job;

import com.zzyl.serve.service.IAlertRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("alertJob")
public class AlertJob {

    @Autowired
    private IAlertRuleService alertRuleService;

    public void alertJobHandle(){
        alertRuleService.handleAlertJob();
    }
}